package com.mdx.controller;

import com.mdx.bean.OutGalleryBean;
import com.mdx.service.IOutGalleryService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * 出库明细
 */
@RestController
@RequestMapping("out")
public class OutGalleryController {
    @Resource
    private IOutGalleryService outGalleryService;

    @RequestMapping("add")
    public String add(List<OutGalleryBean> list){
        outGalleryService.addGO(list);
        return "ok";
    }
}
